
<form id="form_user_address" action="/index.php/Admin/UserAddress/update" method="post">

<div class="pad-10">

	<div class="navigate">
		<h1>地址修改</h1>

            <span class="ui-button ui-button-morange fr">
                    <a class="ui-button-text fr" href="/index.php/Admin/UserAddress/">地址列表</a>
            </span>
  	</div>
  	
  	
<div class="col-tab">
<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on"
		onclick="SwapTab('setting','on','',2,1);">地址修改</li>
</ul>
<div id="div_setting_1" class="contentList pad-10">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">

	<tr>
		<th width="100">客户:</th>
		<td>
			<select name="user_id" id="user_id" style="width:300px;">
				<volist name="users" id="u">
				<option value="{$u.user_id}" <eq name="u.user_id" value="$user_id"> selected</eq>>[{$u.user_id}]&nbsp;&nbsp;&nbsp;&nbsp;{$u.user_name}&nbsp;&nbsp;&nbsp;&nbsp;({$u.mobile_phone})</option>
				</volist>
          	</select>
          	<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	
	<tr>
		<th width="100">所在地:</th>
		<td>
			<input type="text" name="location" id="location" class="input-text"
			value="{$address.location}" style="width:300px;">
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	
	<tr>
		<th width="100">详细地址:</th>
		<td>
			<input type="text" name="address" id="address" class="input-text"
			value="{$address.address}" style="width:300px;">
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th width="100">收货人:</th>
		<td>
			<input type="text" name="consignee" id="consignee" class="input-text"
			value="{$address.consignee}" style="width:300px;">
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	
	<tr>
		<th width="100">手机:</th>
		<td>
			<input type="text" name="mobile_phone" id="mobile_phone" class="input-text"
			value="{$address.mobile_phone}" style="width:300px;">
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th width="100">邮编:</th>
		<td>
			<input type="text" name="zipcode" id="zipcode" class="input-text"
			value="{$address.zipcode}" style="width:300px;">
		</td>
	</tr>
	<tr>
		<th width="100">最后分配时间:</th>
		<td>
			<input type="text" class="Wdate tc w150" id="last_use_time" name="last_use_time" onclick="javascript:WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readonly="readonly" value="{$address.last_use_time}" />
		</td>
	</tr>
	<tr>
		<th width="100">状态:</th>
		<td>
			<input type="radio" id="disabled" name="disabled" value="1" <eq name="address.disabled" value="1"> checked</eq> />
			<label for="disabled">禁用</label>
			
			<input type="radio" id="enabled" name="disabled" value="0" <eq name="address.disabled" value="0"> checked</eq> />
			<label for="enabled">启用</label>
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	
	
</table>
</div>

<div class="bk15"></div>
<div class="btn"><input type="submit" class="button" value="保存" /></div>
</div>
</div>

<input type="hidden" name="id" value="{$address.id}" />

</form>

<script type="text/javascript" src="/Js/WdatePicker.js"></script>
<script type="text/javascript" src="/Js/jquery.form.js"></script>
<script type="text/javascript" src="/Js/adm/user_address/detail.js"></script>